//state: 中央数据管理池

import { IState } from "@/typings";

//给泛型 <IState>
export default <IState> {
  list:[]
}

/**
 * list: [
 *   listItem: {
 *     id: new Date().getTime -> number数值类型,
 *     content: string字符串类型,
 *     status: FINISHED | DOING | WILLDO -> 枚举类型
 *   } -> Interface类型
 * ] -> ITodo类型
 */